package com.imooc.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.imooc.entity.Book;
import com.imooc.entity.Evaluation;

import java.util.List;

public interface EvaluationService {
    public List<Evaluation> selectByBookId(Long bookId);
    public Evaluation evaluate(Long memberId, Long bookId, Integer score, String content);
    Evaluation enjoy(Long evaluationId);
    public IPage<Evaluation> paging(Integer page, Integer rows);
    void disableEvaluation(Long evaluationId, String reason);
}
